package com.mspbots.cw.amqp.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * com.mspbots.cw.amqp.model.TeamsUsers
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2020/4/20
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("tenant_teams_user")
public class TeamsUser implements Serializable {

    @Id
    private Long id;
    private Long tenantId;
    private String teamsUserId;
    private String teamsDisplayName;
    private String jobTitle;
    private String teamsMail;
    private String teamsManager;
    private String mobilePhone;
    private String officeLocation;
    private String giveName;
    private String surname;
    private String preferredLanguage;
    private String teamsOriginalMail;

    private LocalDateTime updateTime;
    private LocalDateTime createDate;
}
